import Common from './common.js'

class Login extends Common {
  constructor(url) {
    super()
    this.apiUrl = this.apiUrl + url
  }
  banners() {
    return this.http_get(this.apiUrl + '/banners')
  }
  newslist (params) {
    return this.http_get(this.apiUrl + '/newslist', params)
  }
  associations(accId) {
    return this.http_post(this.apiUrl + '/associations', { accId: accId})
  }

}
export default Login